package cn.minhx.infrastructure.dao;

import cn.minhx.infrastructure.dao.po.NotifyTask;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

/**
 * 回调任务
 *
 * @author min
 */
@Mapper
public interface INotifyTaskDAO {

	void insert(NotifyTask notifyTask);

	List<NotifyTask> queryUnExecutedNotifyTaskList();

	NotifyTask queryUnExecutedNotifyTaskByTeamId(String teamId);

	int updateNotifyTaskStatusSuccess(String teamId);

	int updateNotifyTaskStatusError(String teamId);

	int updateNotifyTaskStatusRetry(String teamId);
}
